base64 = "0.20.0"
bitflags = "1.2.1"
ffi = { package = "ostree-sys", path = "rust-bindings/sys", version = "0.15.0" }
-gio = "0.18"
-glib = "0.18"
+gio = "0.20"
+glib = "0.20"
hex = "0.4.2"
libc = "0.2"
once_cell = "1.4.0"
GIR_REPO := https://github.com/gtk-rs/gir.git
GIR_VERSION := 5433e2582f831d551789ee95fa04188d2a5fd3e5 # 0.20.4
-GIR_FILES_VERSION := 0.19.0
+GIR_FILES_VERSION := 0.20.0
OSTREE_REPO := ../ostree
OSTREE_VERSION := patch-v2022.2
RUSTDOC_STRIPPER_VERSION := 0.1.17
}
}
+ #[cfg(feature = "v2024_7")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2024_7")))]
#[doc(alias = "ostree_repo_checkout_composefs")]
pub fn checkout_composefs(&self, options: Option<&glib::Variant>, destination_dfd: i32, destination_path: &str, checksum: &str, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
unsafe {
Generated by gir (https://github.com/gtk-rs/gir @ 5433e2582f83)
-from gir-files (@ 533c8b9281ba)
+from gir-files (@ b89f209a09cf)
use crate::{Checksum, ObjectDetails, ObjectName, ObjectType, Repo, RepoTransactionStats};
use ffi::OstreeRepoListObjectsFlags;
use glib::ffi as glib_sys;
-use glib::{self, translate::*, Error, IsA};
+use glib::prelude::*;
+use glib::{self, translate::*, Error};
#[cfg(any(feature = "v2017_10", feature = "dox"))]
use std::os::fd::BorrowedFd;
use std::{
#[cfg(test)]
mod tests {
+ use gio::prelude::FileExt;
+
use super::*;
#[test]
sysroot.path()
};
- assert_eq!(path_created.to_string(), path_loaded.to_string());
+ assert_eq!(path_created.path(), path_loaded.path());
}
}
libc = "0.2"
[dependencies.gio-sys]
-version = "0.18"
+version = "0.20"
[dependencies.glib-sys]
-version = "0.18"
+version = "0.20"
[dependencies.gobject-sys]
-version = "0.18"
+version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
v2023_1 = ["v2022_7"]
v2023_8 = ["v2023_1"]
v2023_11 = ["v2023_8"]
-v2025_1 = ["v2023_11"]
+v2025_1 = ["v2024_7"]
+v2024_7 = ["v2023_11"]
[lib]
name = "ostree_sys"
[package.metadata.system-deps.ostree_1.v2025_1]
version = "2025.1"
+
+[package.metadata.system-deps.ostree_1.v2024_7]
+version = "2024.7"
Generated by gir (https://github.com/gtk-rs/gir @ 5433e2582f83)
-from gir-files (@ 533c8b9281ba)
+from gir-files (@ b89f209a09cf)
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
+ #[cfg(feature = "v2024_7")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2024_7")))]
pub fn ostree_repo_checkout_composefs(
self_: *mut OstreeRepo,
options: *mut glib::GVariant,